package com.dq.controller.in;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author luchangtong
 * @Date 2020/4/13 10:19
 */
@Data
public class SubscribePayRequest {
    @NotBlank(message = "选择预约单")
    public Long subscribeId;
    public Long cardId;
    @ApiModelProperty("1：无卡扣费 2：会员卡积分结账 3：会员卡项目次数结账")
    @NotBlank(message = "选择支付方式")
    public Long flag;
    @NotBlank(message = "选择分成比例")
    public String proportion;
    @NotNull(message = "请输入金额")
    public BigDecimal price;
    @ApiModelProperty("备注")
    public String remarks;
    @ApiModelProperty("1 正常剩余扣费 2 赠送剩余扣费")
    public Long selected;
    @ApiModelProperty("折扣")
    public BigDecimal discount;
}
